
package com.xpheng.system.modular.resource.param.button;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 按钮添加参数
 *
 **/
@Getter
@Setter
public class SysButtonAddParam {

    /** 父id */
    @NotBlank(message = "parentId不能为空")
    private String parentId;

    /** 标题 */
    @NotBlank(message = "title不能为空")
    private String title;

    /** 编码 */
    @NotBlank(message = "code不能为空")
    private String code;

    /** 排序码 */
    @NotNull(message = "sortCode不能为空")
    private Integer sortCode;

    /** 扩展JSON */
    private String extJson;
}
